std::unique_ptr< T[], D >

#include <zorba/internal/unique_ptr.h>

Private Types

ZORBA_TR1_NS::add_reference< D const >::type

deleter_const_reference

ZORBA_TR1_NS::add_reference< D >::type

deleter_reference

zorba::internal::ztd::explicit_bool

explicit_bool

Private Attributes

unique_ptr_storage< T, D >

storage_

Public Functions

pointer

get() const

deleter_reference

get_deleter()

deleter_const_reference

get_deleter() const

operator explicit_bool::type() const

operator::zorba::internal::rv()

operator::zorba::internal::rv() const

unique_ptr &

operator=(zorba::internal::rv< unique_ptr > &p)

T &

operator[](size_t i) const

pointer

release()

void

reset(pointer p=nullptr)

void

swap(unique_ptr &p)

unique_ptr(pointer p=nullptr)

unique_ptr(pointer p, deleter_reference d)

~unique_ptr()

Private Functions

void

call_deleter()

unique_ptr &

operator=(unique_ptr &)

unique_ptr &

operator=(unique_ptr< U, E > &)

unique_ptr(unique_ptr &)

unique_ptr(unique_ptr< U, E > &)

Private Types

deleter_const_reference

ZORBA_TR1_NS::add_reference< D const >::type deleter_const_reference

deleter_reference

ZORBA_TR1_NS::add_reference< D >::type deleter_reference

explicit_bool

Public Types

deleter_type

D deleter_type

element_type

T element_type

pointer

T * pointer

Private Attributes

storage_

unique_ptr_storage< T, D > storage_

Public Functions

get

pointer get() const

get_deleter

deleter_reference get_deleter()

get_deleter

deleter_const_reference get_deleter() const

operator explicit_bool::type

 operator explicit_bool::type() const

operator::zorba::internal::rv

 operator::zorba::internal::rv()

operator::zorba::internal::rv

 operator::zorba::internal::rv() const

operator=

unique_ptr & operator=(zorba::internal::rv< unique_ptr > &p)

operator[]

T & operator[](size_t i) const

release

pointer release()

reset

void reset(pointer p=nullptr)

swap

void swap(unique_ptr &p)

unique_ptr

 unique_ptr(pointer p=nullptr)

unique_ptr

 unique_ptr(pointer p, deleter_reference d)

~unique_ptr

 ~unique_ptr()

Private Functions

call_deleter

void call_deleter()

operator=

unique_ptr & operator=(unique_ptr &)

operator=

unique_ptr & operator=(unique_ptr< U, E > &)

unique_ptr

 unique_ptr(unique_ptr &)

unique_ptr

 unique_ptr(unique_ptr< U, E > &)